package com.liqiye.paymanager.bean.common;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 货币汇率转换 https://api.frankfurter.app/latest?from=USD&to=CNY&amount=100 的返回结果
 */
@Data
public class FrankfurterResponse {

    private BigDecimal amount;
    private String base;
    private String date;
    private Map<String, BigDecimal> rates;

}
